package at.sternwerk.domainfinder.data.xmlrpc.types;

import java.util.ArrayList;
import java.util.List;

public class DoubleElement extends Element {
  private static final long serialVersionUID = 5118713515440937801L;
  private Double value;

  public DoubleElement() {
  }

  public DoubleElement(Double value) {
    this.value = value;
  }

  @Override
  public String toString() {
    return value.doubleValue() + "";
  }

  public Double getValue() {
    return value.doubleValue();
  }

  @Override
  public List<Element> getChildren() {
    return new ArrayList<Element>();
  }
}
